const state = {
	count: 0
}

const mutations = {
	SET_COUNT: (state, data) => {
		state.count = data
	}
}

const actions = {
	setCount({
		commit
	}, count) {
		commit('SET_COUNT', count)
	}
}

export default {
	namespaced: true,
	state,
	mutations,
	actions
}
